package com.yaorange.dao;

import com.yaorange.pojo.Customer;

import java.util.Date;
import java.util.List;

public interface CustomerDao {
    void addCustomer(Customer customer);//增加用户
    void deleteCustomerById(String id);//根据id删除用户
    void updateCustomerById(String id, String name, Date birthday,char gender);//修改客户
    Customer queryCustomerById(String id);//查询单个客户
    List<Customer> queryAll();//查询全部
}
